     <div class="pc_nav">
                <div class="pc_w1200">
                    <div class="huacha_logo"><a href="${basepath}/index.action">${(jshopbasicinfo.jshopname)}</a></div>
                    <div class="top_catalog"><img src="${basepath}/ui/assets/img/icons/catalog.png" alt=""/></div>
                    <div class="top_ad"></div>
                        <script type="text/javascript">
                               $.post("${basepath}/findAllCartByUserIdFortopCart.action",{orderTag:1});
                        </script>
                    <div class="head_control">
                        <div class="shopping_cart">
                            <a href="${basepath}/gotocartpage.action">
                                <div class="cart_name"><span class="glyphicon glyphicon-shopping-cart"></span> 购物车</div>
                                 <#if (usercart??)>
                                        <div class="cart_num">${usercart.count}</div>
                                 <#else>
                                <div class="cart_num">0</div>
                                </#if>
                            </a>
                        </div>
                        <div class="nav_search">
                            <div class="search_bot"><input type="image" onclick="search('${basepath}')" id="search" name="search" src="${basepath}/ui/assets/img/bg/bot.png"/></div>
                            <div class="search_input"><input type="text" id="key" name="key" class="form-control" placeholder="搜索关键词"></div>
                        </div>
                        <ul class="main_nav">
                            <#if sitenavigationlist?exists>
                                <#list sitenavigationlist?sort_by("sort") as snl>
                                <#if snl.position="2">
                                    <li class="mod_nav_li">
                                        <a class="current" href="${basepath}<@snl.htmlPath?interpret/>"
                                            <#if snl.isTargetBlank="1"></#if> >${snl.name}
                                        </a>
                                    </li>
                                </#if>
                                </#list>
                            </#if>
                        </ul>
                    </div>
                </div>
            </div>
<script>
	$(function(){
        search=function(basepath){
            var key=$("#key").val();
            if(key!=""){
                window.location.href=basepath+"/goods/searchGoods.action?key="+key;
            }
        }
       
	});
</script>